<?php
function printHello() {
    echo 'Hello PHP';
}
function verifyMobile($mobile) {
    $pattern = '/^1[0-9]{10}$/';
    $result = preg_match($pattern, $mobile);
    return $result;
}
function getStatusTitle($status = 1) {
    if ($status == 1) {
        $statusTitle = '待付款';
    } elseif($status == 2) {
        $statusTitle = '待收货';
    } elseif ($status == 3) {
        $statusTitle = '已完成';
    } else {
        $statusTitle = '已取消';
    }
    return $statusTitle;
}
